// 员工的路由
// 导入 layout
import layout from '@/layout'
export default {
  path: '/employees',
  name: 'employees',
  component: layout,
  children: [
    {
      path: '',
      name: 'employees',
      component: () => import('@/views/employees'),
      meta: { title: '员工', icon: 'dashboard' }
    },
    {
      path: 'import', // /employees/import
      name: 'import',
      hidden: true,
      component: () => import('@/views/employees/import'),
      meta: { title: '批量导入', icon: 'dashboard' }
    },
    {
      path: 'details/:id', // /employees/details
      name: 'details',
      hidden: true,
      component: () => import('@/views/employees/details')
    },
    {
      path: 'print/:id', // /employees/print
      name: 'print',
      hidden: true,
      component: () => import('@/views/employees/print')
    }
  ]
}
